package cn.tedu.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class Order {//订单
    private String id;//订单的id
    private User user;//哪个用户的订单
    private List<Item> items;//订单中包含的商品列表
}
